<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Techisa</title>
<link href="<?php echo Yii::app()->theme->baseUrl;?>/css/techisa2styles.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo Yii::app()->baseUrl; ?>/css/site-style.css" rel="stylesheet" type="text/css"/>
</head>

<body>
<div id="headerwrapper">
<div id="logopart">
<div style="width:308px height:69px">
 <?php $slug=StaticPages::model()->find('slug=? and theme=?',array('headername-10',Yii::app()->theme->name));
echo $slug->content; ?>
</div></div>
<div id="motto">
<?php 
      $slug=StaticPages::model()->find('slug=? and theme=?',array('moto-14',Yii::app()->theme->name));
      echo $slug->content;
?>  
</div>

</div>

<div id="navigationwrapper">
<div class="navigationset">
<ul class="navigation">
<?php if(Yii::app()->controller->action->id=="home") { ?>
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "home");?>" style="color:#8DC3FD">Home</a></li>
<?php }else {?><li><a href="<?php echo ApplicationConfig::getURL("", "site", "home");?>">Home</a></li><?php } ?>

<?php if(Yii::app()->controller->action->id=="services") { ?>
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "services");?>" style="color:#8DC3FD">Services</a></li>
<?php }else {?><li>  
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "services");?>">Services</a></li><?php } ?>


<?php if(Yii::app()->controller->action->id=="myprofile") { ?>
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "myprofile");?>" style="color:#8DC3FD">My Profile</a></li>
<?php }else {?><li> 
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "myprofile");?>">My Profile</a></li><?php } ?>


<?php if(Yii::app()->controller->action->id=="create") { ?>
<li><a href="<?php echo ApplicationConfig::getURL("", "appointment", "create");?>" style="color:#8DC3FD">Appointments</a></li>
<?php }else {?><li> 
<li><a href="<?php echo ApplicationConfig::getURL("", "appointment", "create");?>">Appointments</a></li><?php } ?>

<?php if(Yii::app()->controller->action->id=="contact") { ?>
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "contact");?>" style="color:#8DC3FD">Contact Us</a></li>
<?php }else {?><li> 
<li><a href="<?php echo ApplicationConfig::getURL("", "site", "contact");?>">Contact Us</a></li><?php } ?>
</ul>
</div>
</div>

<div id="bodywrapper">
  <?php echo $content;?>
  <div class="clear"></div>
</div><!--bodywrapper-->

<div id="footerwrapper">
  <div id="footerwrapper">
    <div class="footer-linkset">
      <ul class="footerlink" style="margin-left:200px;">
        <li><a href="<?php echo Yii::app()->createUrl("site/home")?>">Home</a></li>
        <li><a href="<?php echo Yii::app()->createUrl("site/services")?>">Services</a></li>
        <li><a href="<?php echo Yii::app()->createUrl("site/myprofile")?>">My Profile</a></li>
        <li><a href="<?php echo Yii::app()->createUrl("appointment/create")?>">Appointments</a></li>
      </ul>
    </div>  <!-- end of footer-linkset-->
  <div class="copyrights">&copy; 2012 reserved by Techisa WebSolutions</div>
  </div>  <!-- end of footerwrapper -->
</div>  <!-- end of footerwrapper -->
</body>
</html>
